package work20241203_chap6oop.n_demo11;

/**
 * @author zdl
 * @date 2024/12/5
 */
public class A {
    public void test(Shape[] shapes){
        for (int i = 0; i < shapes.length; i++) {
            shapes[i].area();
            shapes[i].girth();
        }
    }
}
